home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2433 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: postoffice.ptd.net!markgray
  2. From: markgray@postoffice.ptd.net (Mark T. Gray)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Can a Unix compiler be used for dos apps?
  5. Date: 21 Jan 1996 12:51:46 GMT
  6. Organization: Entropy
  7. Message-ID: <4dtct2$hdo@ns2.ptd.net>
  8. References: <rmhanson.81.30F9A6C2@students.wisc.edu> <DL7G0u.EyH@xvt.com> <4do8gm$bqf@redstone.interpath.net>
  9. NNTP-Posting-Host: cs1-04.spa.ptd.net
  10.  
  11. In article <4do8gm$bqf@redstone.interpath.net>,
  12. Scott McMahan - Softbase Systems <softbase@mercury.interpath.net> wrote:
  13. >Bruce A. Yelen (bruce@xvt.com) wrote:
  14. >: >the question is there anyway I can use my unix box to run a compiler that 
  15. >: >would create dos executables? Then just ftp the programs to my home.
  16. >
  17. >: DOS executables have a different format than UNIX.  In theory, you could
  18. >: compile and link code on Unix to run under DOS but you would need a
  19. >: compiler specificaly for that purpose.  I don't know of any myself.
  20. >
  21. >I know the Xenix compiler I used a couple of years ago was 
  22. >capable of cross-compiling DOS executables.
  23. >
  24. >Scott
  25. >
  26. You can build gcc under linux to produce binaries compatible with djgpp's
  27. go32 dos extender.
  28.